package com.aaa.dao.sas;

import com.aaa.entity.sas.TSasHuiFang;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TSasHuiFangMapper extends Mapper<TSasHuiFang> {
    Integer selectridbyusername(String username);

    Integer selectpidByrid(String name);

    /**
     * 模糊查询
     * @param
     * @return
     */
    List<TSasHuiFang> selectLike(TSasHuiFang tSasHuiFang);



    boolean insertAll(TSasHuiFang tSasHuiFang);

    /**
     * rid做题人id
     * @param username
     * @return
     */
    Integer selectpidbyrid(String username);


    Integer selectidByusername(String username);

    Integer selectusernameidByusername(Integer id);

}
